home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Source Code / VirtualDub / vdicmdrv / CCompRemote.h < prev    next >
C/C++ Source or Header  |  2003-10-01  |  2KB  |  52 lines

  1. #ifndef _f_CCOMPREMOTE_H
  2. #define _f_CCOMPREMOTE_H
  3.  
  4. #include "IVideoDriver.h"
  5. #include "CVideoCompressor.h"
  6.  
  7. class IVDubAnimConnection;
  8. class IVDubServerLink;
  9.  
  10. class CCompRemoteDriver : public IVideoDriver {
  11. public:
  12.     virtual ~CCompRemoteDriver();
  13.  
  14.     BOOL    Load(HDRVR hDriver);
  15.     void    Free(HDRVR hDriver);
  16.     DWORD    Open(HDRVR hDriver, char *szDescription, LPVIDEO_OPEN_PARMS lpVideoOpenParms);
  17.     void    Disable(HDRVR hDriver);
  18.     void    Enable(HDRVR hDriver);
  19.     LRESULT    Default(DWORD dwDriverID, HDRVR hDriver, UINT uiMessage, LPARAM lParam1, LPARAM lParam2);
  20. };
  21.  
  22. class CCompRemote : public CVideoCompressor {
  23. private:
  24.     IVDubAnimConnection *ivdac;
  25.     DWORD dwWidth, dwHeight;
  26.  
  27.     static BOOL AboutProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
  28.  
  29. public:
  30.     CCompRemote();
  31.     ~CCompRemote();
  32.  
  33.     LRESULT About(HWND hwnd);
  34.     LRESULT Compress            (ICCOMPRESS *icc, DWORD cbSize);
  35.     LRESULT CompressFramesInfo    (ICCOMPRESSFRAMES *icf, DWORD cbSize);
  36.     LRESULT CompressGetFormat    (BITMAPINFO *lpbiInput, BITMAPINFO *lpbiOutput);
  37.     LRESULT CompressGetSize        (BITMAPINFO *lpbiInput, BITMAPINFO *lpbiOutput);
  38.     LRESULT CompressQuery        (BITMAPINFO *lpbiInput, BITMAPINFO *lpbiOutput);
  39.     LRESULT DecompressBegin        (BITMAPINFO *lpbiInput, BITMAPINFO *lpbiOutput);
  40.     LRESULT DecompressEnd        ();
  41.     LRESULT DecompressExBegin    (ICDECOMPRESSEX *icdex, DWORD cbSize);
  42.     LRESULT DecompressExEnd        ();
  43.     LRESULT DecompressGetFormat    (BITMAPINFO *lpbiInput, BITMAPINFO *lpbiOutput);
  44.     LRESULT DecompressEx        (ICDECOMPRESSEX *icdex, DWORD cbSize);
  45.     LRESULT DecompressExQuery    (ICDECOMPRESSEX *icdex, DWORD cbSize);
  46.     LRESULT GetInfo                (ICINFO *lpicinfo, DWORD cbSize);
  47. };
  48.  
  49. extern CCompRemoteDriver videoDriverRemote;
  50.  
  51. #endif
  52.